home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tk / getpixmap.z / getpixmap
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp((((3333TTTTkkkk))))                                            TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_GetPixmap, Tk_FreePixmap - allocate and free pixmaps
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  13.  
  14.      Pixmap
  15.      TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp((((_d_i_s_p_l_a_y, _d, _w_i_d_t_h, _h_e_i_g_h_t, _d_e_p_t_h))))
  16.  
  17.      TTTTkkkk____FFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp((((_d_i_s_p_l_a_y, _p_i_x_m_a_p))))
  18.  
  19. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  20.      Display    *_d_i_s_p_l_a_y    (in)      X display for the pixmap.
  21.  
  22.      Drawable   _d           (in)      Pixmap or window where the new pixmap
  23.                                       will be used for drawing.
  24.  
  25.      int        _w_i_d_t_h       (in)      Width of pixmap.
  26.  
  27.      int        _h_e_i_g_h_t      (in)      Height of pixmap.
  28.  
  29.      int        _d_e_p_t_h       (in)      Number of bits per pixel in pixmap.
  30.  
  31.      Pixmap     _p_i_x_m_a_p      (in)      Pixmap to destroy.
  32.  
  33.  
  34. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  35.      These procedures are identical to the Xlib procedures XXXXCCCCrrrreeeeaaaatttteeeePPPPiiiixxxxmmmmaaaapppp and
  36.      XXXXFFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp, except that they have extra code to manage X resource
  37.      identifiers so that identifiers for deleted pixmaps can be reused in the
  38.      future.  It is important for Tk applications to use these procedures
  39.      rather than XXXXCCCCrrrreeeeaaaatttteeeePPPPiiiixxxxmmmmaaaapppp and XXXXFFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp;  otherwise long-running
  40.      applications may run out of resource identifiers.
  41.  
  42.      TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp creates a pixmap suitable for drawing in _d, with dimensions
  43.      given by _w_i_d_t_h, _h_e_i_g_h_t, and _d_e_p_t_h, and returns its identifier.
  44.      TTTTkkkk____FFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp destroys the pixmap given by _p_i_x_m_a_p and makes its resource
  45.      identifier available for reuse.
  46.  
  47.  
  48. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  49.      pixmap, resource identifier
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.